﻿using System.Runtime.Serialization;
using FacebookAPI.FacebookProperties;

namespace FacebookAPI.Objects
{
    [DataContract]
    public class MileStone : FacebookBaseObject
    {
        [DataMember(Name = "title", EmitDefaultValue = true, IsRequired = false)]
        public string Title { get; set; }

        [DataMember(Name = "from", EmitDefaultValue = true, IsRequired = false)]
        public FacebookBaseObject From { get; set; }

        [DataMember(Name = "description", EmitDefaultValue = true, IsRequired = false)]
        public string Description { get; set; }

        [DataMember(Name = "created_time", EmitDefaultValue = true, IsRequired = false)]
        public string CreatedTime { get; set; }

        [DataMember(Name = "updated_time", EmitDefaultValue = true, IsRequired = false)]
        public string UpdatedTime { get; set; }

        [DataMember(Name = "start_time", EmitDefaultValue = true, IsRequired = false)]
        public string StartTime { get; set; }

        [DataMember(Name = "end_time", EmitDefaultValue = true, IsRequired = false)]
        public string EndTime { get; set; }
    }
}
